package com.suneast.suneaststore.modules.personal.sign.event;

import com.suneast.suneaststore.modules.common.Flag;

public class SignInResult {
    /**
     * state = 0 : 登入失败  state = 1 : 登入成功
     */
    private @Flag.Result
    int state;

    private @Flag.CodeType
    int signMethod;

    public SignInResult(@Flag.Result int state, @Flag.CodeType int signMethod) {
        this.state = state;
        this.signMethod = signMethod;
    }

    public int getState() {
        return state;
    }

    public void setState(@Flag.Result int state) {
        this.state = state;
    }

    public int getSignMethod() {
        return signMethod;
    }

    public void setSignMethod(@Flag.CodeType int signMethod) {
        this.signMethod = signMethod;
    }
}
